package com.kaifamiao.kfm.service;

import com.kaifamiao.kfm.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 10854
* @description 针对表【sys_role(角色信息表)】的数据库操作Service
* @createDate 2022-08-21 15:22:32
*/
public interface SysRoleService extends IService<SysRole> {

    List<SysRole> getRolesByUserId(Long userId);

    List<Long> getRoleIdByUserId(Long userId);
}
